/*
 * @Description:
 * @Author: py
 * @Date: 2024-08-13
 */
import { Layout } from '@fl/utils/routerHelper'

import advertisingManagement from './modules/advertising-management'
import contractManagement from './modules/contract-management'
import flagshipStore from './modules/flagship-store'
import flagshipCoupon from './modules/flagship-coupon'
import flash from './modules/flash-management'
import landPolicy from './modules/land-management'
import onPolicyTable from './modules/one-policy-table'
import policyAreaRoute from './modules/policy-area'
import tradeInApplyRoute from './modules/trade-in-apply'
import houseRankRoute from './modules/house-rank'
import protocol from './modules/protocol'

const contentCenterRoute: AppRouteRecordRaw = {
    children: [
        protocol,
        flagshipStore,
        flagshipCoupon,
        contractManagement,
        advertisingManagement,
        flash,
        landPolicy,
        policyAreaRoute,
        onPolicyTable,
        houseRankRoute,
        tradeInApplyRoute,
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        title: '内容中心',
    },
    name: 'content-center',
    path: '/content-center',
    redirect: '/content-center/protocol/list',
}

export default contentCenterRoute
